import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    text: '',
    id:0,
  },
  mutations: {
    gai(state, value) {
      state.text = value
    },
    gaiid(state,value){
      state.id=value
    },
  },
  actions: {},
  modules: {},
});
